package com.chaos.eurekaserver;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author liaopeng
 * @title: TestController
 * @projectName demo
 * @description: TODO
 * @date 2021/7/14下午2:10
 */
@RestController
@RequestMapping(value = "/test")
public class TestController {


    @PostMapping("/execute")
    public String  execute(@RequestBody String str) {

        return str;
    }
}
